home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Utilities / Converters / Convert_MacPaint / Source / shared.subproj / PSFile.h < prev    next >
Text File  |  1995-06-12  |  3KB  |  62 lines

  1. /***********************************************************************\
  2. Common class for doing some rudimentarly interactions with ps files in all Convert programs
  3. Copyright (C) 1993 David John Burrowes
  4.  
  5. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version.
  6.  
  7. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
  8.  
  9. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  10.  
  11. The author, David John Burrowes, can be reached at:
  12.     davidjohn@kira.net.netcom.com
  13.     David John Burrowes
  14.     1926 Ivy #10
  15.     San Mateo, CA 94403-1367
  16. \***********************************************************************/
  17.  
  18. /*
  19. ====================================================================
  20. This is the interface file for the PSFile class.  Full documentation for this class can be found in the PSFile.rtf file (someday).  I will not duplicate all that fine information here.
  21.     This is $Revision: 1.4 $ of this file
  22.     It was last modified by $Author: death $ on $Date: 93/04/04 23:44:51 $
  23. Note that this file was created while using the New Century Schoolbook Roman typeface.  You may find that some things line up strangely if you don't use that family.
  24.  *$Log:    PSFile.h,v $
  25.  * Revision 1.4  93/04/04  23:44:51  death
  26.  * Sun Apr  4 23:44:50 PDT 1993
  27.  * 
  28.  * Revision 1.3  93/01/10  15:08:34  death
  29.  * Sun Jan 10 15:08:33 PST 1993
  30.  * 
  31.  * Revision 1.2  92/07/26  13:59:35  death
  32.  * Updated PSFile used with font converter...
  33.  * 
  34.  * 
  35.  *====================================================================
  36.  */
  37.  
  38. //
  39. // Import our parent class' definition
  40. //
  41. #import "TextFile.h"
  42. #import "common.h"
  43.  
  44.  
  45. @interface PSFile:TextFile
  46. {
  47. }
  48.  
  49.  
  50. - WriteDSCComment: (CString) comment;
  51. - WriteDSCCommentUsing: (CString) buffer WithFormat: (CString) format, ...;
  52. - WriteComment: (CString) comment;
  53. - WriteCommentUsing: (CString) buffer WithFormat: (CString) format, ...;
  54.  
  55. - WritePSLine: (CString) theLine;
  56. - WritePSLineUsing: (CString) buffer WithFormat: (CString) format, ...;
  57. - Write:  (PositiveInteger) num BytesOfHexDataFrom: (ByteString) buffer;
  58. - Write:  (PositiveInteger) num InvertedBytesOfHexDataFrom: (ByteString) buffer;
  59. - ForceNewLine;
  60. - WriteByteAsHex: (Byte) theByte;
  61.  
  62. @end;